import http from '@/uitils/axios_http'
import { type } from "os";

// 登录
type USER = {
    password: String,
    username: String
}
export const login_api = (user: USER) => http.post('/auth/login', user)

// 退出登录
export const logout = () => http.post('/auth/logout')